package org.zcl.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * .
 *
 * @Author Chenglin Zhu
 * @Date 2022/1/23 7:27 下午
 */
@FeignClient(name = "user-service", url = "http://127.0.0.1:18080", decode404 = true)
public interface UserServiceFeignClient2 {

    @GetMapping("/hi")
    String sayHi(@RequestParam("name") String name);
}
